Trò chơi Angry Birds trong UNITY Engine
31.710 lượt xem;
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace Assets.Scripts
7 {
8 public static class Constants
9 {
10 public static readonly float MinVelocity = 0.05f;
11
12 /// <summary>
13 /// The collider of the bird is bigger when on idle state
14 /// This will make it easier for the user to tap on it
15 /// </summary>
16 public static readonly float BirdColliderRadiusNormal = 0.235f;
17 public static readonly float BirdColliderRadiusBig = 0.5f;
18 }
19 }
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace Assets.Scripts
7 {
8 public static class Constants
9 {
10 public static readonly float MinVelocity = 0.05f;
11
12 /// <summary>
13 /// The collider of the bird is bigger when on idle state
14 /// This will make it easier for the user to tap on it
15 /// </summary>
16 public static readonly float BirdColliderRadiusNormal = 0.235f;
17 public static readonly float BirdColliderRadiusBig = 0.5f;
18 }
19 }